package rwlivbk.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import rwlivbk.model.LiveStream;

import java.util.ArrayList;
import java.util.Optional;

@Mapper
public interface LiveStreamMapper {

    ArrayList<LiveStream> findAllActiveLiveStreams();
    ArrayList<LiveStream> findAllLiveStreams();


    int insertLiveStream(LiveStream streamData);

    int updateLiveStream(LiveStream updatedData);
}
